<template>
  <div class="parent">
    <h2>parent</h2>
    <div>
      <NuxtLink to="/05_router-nuxt/parent">
        <button>default child1</button>
      </NuxtLink>
      <NuxtLink to="/05_router-nuxt/parent/child1">
        <button>child1</button>
      </NuxtLink>
      <NuxtLink to="/05_router-nuxt/parent/child2">
        <button>child2</button>
      </NuxtLink>
    </div>
    <NuxtPage></NuxtPage>
  </div>
</template>

<script setup lang="ts"></script>

<style lang="less" scoped>
  .parent {
  }
</style>
